<% if (success) { %>
<div class="alert alert-success alert-dismissable" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span class="glyphicon glyphicon-remove" aria-hidden="true">
            </span>
    </button>
    <%= success %></div>

<% } %>
<% if (error) { %>
<div class="alert alert-danger alert-dismissable" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span class="glyphicon glyphicon-remove" aria-hidden="true">
            </span>
    </button>
    <%= error %></div>
<% } %>